﻿using System;

namespace Schedulr.Messages
{
    public class StatusMessage
    {
        public string Message { get; private set; }
        public Exception Exception { get; private set; }

        public StatusMessage(string message)
            : this(message, null)
        {
        }

        public StatusMessage(string message, Exception exception)
        {
            this.Message = message;
            this.Exception = exception;
        }
    }
}